package service;

import java.util.List;

import Dao.FinancingProductDao;
import entity.FinancingProduct;

public class FinancingProductService {
  public FinancingProductDao findao=new FinancingProductDao();
  public List<FinancingProduct> getList(){
		return findao.getList();
		 
	 }
	 public int getId(String id){
		return findao.getId(id);
		 
	 }
	 public int addFin(FinancingProduct fin){
		return findao.addFin(fin);
		 
	 }
	 public List<FinancingProduct> Listlike(String id,int risk){
		return findao.Listlike(id, risk); 
	 }
}

